package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IPreStoredRewardsConfAddParam;
public class PreStoredRewardsConfAddParam implements IPreStoredRewardsConfAddParam {// 预存金额下限

private BigDecimal priceStart;
// 

private BigDecimal priceEnd;
// 预存类型 0  以上 范围 1
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte type;
// 折扣

private Float discount;
// 福利奖品
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String welfare;
// 排序
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer sort;
// 备注
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String remarks;



public BigDecimal getPriceStart() {
        return priceStart;
    }
public void setPriceStart(BigDecimal priceStart) {
        this.priceStart = priceStart;
    }
public BigDecimal getPriceEnd() {
        return priceEnd;
    }
public void setPriceEnd(BigDecimal priceEnd) {
        this.priceEnd = priceEnd;
    }
public Byte getType() {
        return type;
    }
public void setType(Byte type) {
        this.type = type;
    }
public Float getDiscount() {
        return discount;
    }
public void setDiscount(Float discount) {
        this.discount = discount;
    }
public String getWelfare() {
        return welfare;
    }
public void setWelfare(String welfare) {
        this.welfare = welfare == null ? null : welfare.trim();
    }
public Integer getSort() {
        return sort;
    }
public void setSort(Integer sort) {
        this.sort = sort;
    }
public String getRemarks() {
        return remarks;
    }
public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }




}